/**
 * 班级管理
 */

import request from "@/utils/request.js"

// 获取班级列表
export function getClassGradeListApi(params) {
  return request({
    url: '/edu/class/list',
    method: 'POST',
    params
  })
}

// 添加
export function addClassGradeListApi(params) {
  return request({
    url: "/edu/class/add",
    method: 'POST',
    params
  })
}

// 删除
export function delClassGradeListApi(params) {
  return request({
    url: "/edu/class/remove",
    method: 'POST',
    params
  })
}

// 修改
export function updateClassGradeListApi(params) {
  return request({
    url: "/edu/class/edit",
    method: 'POST',
    params
  })
}

// 导出
export function exportApi() {
  return request({
    url: "/edu/class/export",
    responseType: 'blob',
    method: 'POST',
  })
}